package com.xidian.zhiancloud.service.exam;

import java.util.List;

import com.github.pagehelper.Page;
import com.xidian.zhiancloud.model.exam.TExamQuestion;

/**
 * 试题Service接口
 * 
 * @author zhouweitao
 * @date 2021-03-05
 */
public interface ITExamQuestionService 
{
    /**
     * 查询试题
     * 
     * @param id 试题ID
     * @return 试题
     */
    public TExamQuestion selectTExamQuestionById(Long id);

    /**
     * 查询试题列表
     * 
     * @param tExamQuestion 试题
     * @return 试题集合
     */
    public Page<TExamQuestion> selectTExamQuestionList(TExamQuestion tExamQuestion);

    /**
     * 新增试题
     * 
     * @param tExamQuestion 试题
     * @return 结果
     */
    public int insertTExamQuestion(TExamQuestion tExamQuestion);

    /**
     * 修改试题
     * 
     * @param tExamQuestion 试题
     * @return 结果
     */
    public int updateTExamQuestion(TExamQuestion tExamQuestion);

    /**
     * 批量删除试题
     * 
     * @param ids 需要删除的试题ID
     * @return 结果
     */
    public int deleteTExamQuestionByIds(Long[] ids);

    /**
     * 删除试题信息
     * 
     * @param id 试题ID
     * @return 结果
     */
    public int deleteTExamQuestionById(Long id);
}
